package com.woniuxy.rbac.vo;

import com.woniuxy.rbac.entity.Role;
import lombok.Getter;
import lombok.Setter;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;

/**
 * @Auther: 老谭（<a href="http://www.woniuxy.com">蜗牛学苑</a>）
 */
@Getter
@Setter
public class RoleVO {
    @Valid
    private Role role;
    @NotEmpty(message = "至少有一条数据")
    private Integer[] permIds;
}
